/**
 *
 * @export
 * @interface DbTableInfo
 */
export interface DbTableInfo {
  /**
   * 表名
   * @type {string}
   * @memberof DbTableInfo
   */
  name: string;
  /**
   * 描述
   * @type {string}
   * @memberof DbTableInfo
   */
  description: string;
}

export interface TableFields {
  tableName: string;
  fieldInfos: Array<FieldInfo>;
}

export interface FieldInfo {
  /// <summary>
  /// 字段名称
  /// </summary>
  columnName: string;
  /// <summary>
  /// 字段描述
  /// </summary>
  columnDescription: string;
  /// <summary>
  /// 字段长度
  /// </summary>
  length: number;
  // 小数点
  decimalDigits: number;
  /// <summary>
  /// 字段类型
  /// </summary>
  columnDataType: string;
  /// <summary>
  /// 是否是主键
  /// </summary>
  isPrimaryKey: boolean;
  /// <summary>
  /// 是否允许为空
  /// </summary>
  isNullable: boolean;
}
